import request from '@/utils/request.js';

// 获取巡查问题趋势图
export const getSendPoliceTrendOfXcMain = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/TrendOfXcMain',
        params: query,
        isEncrypt: false
    })
}

// 获取巡查统计柱状图第一二两层
export const getSendPoliceXcMainCountBarOfFirstSecond = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/xcMainCount',
        params: query,
        isEncrypt: false
    })
}

// 获取巡查统计柱状层第三方
export const getSendPoliceXcMainCountBarOfThird = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/xcMainCountLast',
        params: query,
        isEncrypt: false
    })
}

// 获取巡查统计列表
export const getSendPoliceXcMainTableList = (data, query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/xcMainCountList',
        params: query,
        data: data,
        isEncrypt: false
    })
}

// 获取巡查统计状态图第四层
export const getSendPoliceXcMainCountPieOfFourth = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/xcMainCountFourth',
        params: query,
        isEncrypt: false
    })
}